package myCylinder;

public class Circle {
	public static final double PI = 3.14;

	public double r;
	public double area;

	public Circle(double r) {
		this.r = r;
	}

	public void setR(double r) {
		this.r = r;
	}

	public double getR() {
		return r;
	}

	public double getA() {
		return PI * r * r;
	}

	public double getL() {
		return PI * r * 2;
	}
}
